← Index
NYTProf Performance Profile   
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:02:26 2013

Filename(eval 1031)[/usr/share/perl/5.10/CGI.pm:869]
StatementsExecuted 20 statements in 34µs
Eval Invoked At/usr/share/perl/5.10/CGI.pm line 869
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
22139µs106µsCGI::::deleteCGI::delete
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package CGI; #### Method: delete
2# Deletes the named parameter entirely.
3####
4
# spent 106µs (39+67) within CGI::delete which was called 2 times, avg 53µs/call: # once (23µs+41µs) by CGI::init at line 832 of CGI.pm # once (15µs+27µs) by CGI::init at line 708 of CGI.pm
sub delete {
524µs26µs my($self,@p) = self_or_default(@_);
# spent 6µs making 2 calls to CGI::self_or_default, avg 3µs/call
626µs234µs my(@names) = rearrange([NAME],@p);
# spent 34µs making 2 calls to CGI::Util::rearrange, avg 17µs/call
722µs my @to_delete = ref($names[0]) eq 'ARRAY' ? @$names[0] : @names;
82500ns my %to_delete;
922µs for my $name (@to_delete)
10 {
1121µs CORE::delete $self->{param}{$name};
122700ns CORE::delete $self->{'.fieldnames'}->{$name};
1323µs $to_delete{$name}++;
14 }
1527µs227µs @{$self->{'.parameters'}}=grep { !exists($to_delete{$_}) } $self->param();
# spent 27µs making 2 calls to CGI::param, avg 14µs/call
1627µs return;
17}
18
19;